<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>定位练习</title>

    <style>
        * {
            margin: 0;
            padding: 0;
        }
        
        .father {
            border: 4px solid black;
            width: 1000px;
            height: 700px;
            margin: 100px auto;
            position: relative;
        }
        
        .father:hover {
            border: 4px solid white;
            box-shadow: 0 0 25px 10px rgba(0, 0, 0, 0.45);
        }
        
        .box-right {
            position: absolute;
            top: 300px;
            right: 10px;
            width: 100px;
            border-radius: 255px;
            height: 100px;
            text-align: center;
            line-height: 100px;
            font-weight: 900;
            font-size: 50px;
            color: rgba(255, 255, 255, 0.8);
            background-color: rgba(0, 0, 0, 0.5);
        }
        
        a {
            text-decoration: none;
        }
        
        .box-left {
            position: absolute;
            top: 300px;
            left: 10px;
            text-align: center;
            line-height: 100px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 900;
            font-size: 50px;
            border-radius: 255px;
            width: 100px;
            height: 100px;
            background-color: rgba(0, 0, 0, 0.5);
        }
        
        .box-left:hover {
            background-color: rgba(255, 255, 255, 0.3);
            box-shadow: 0 0 15px 5px black;
        }
        
        .box-down:hover {
            background-color: rgba(255, 255, 255, 0.3);
            box-shadow: 0 0 15px 5px black;
        }
        
        .box-right:hover {
            background-color: rgba(255, 255, 255, 0.3);
            box-shadow: 0 0 15px 5px black;
        }
        
        .box-down {
            position: absolute;
            bottom: 10px;
            left: 30px;
            width: 250px;
            height: 40px;
            border-radius: 50px;
            background-color: rgba(0, 0, 0, 0.5);
        }
        
        li {
            list-style: none;
            margin: 0 10px;
            font-weight: 700;
            display: inline-block;
            color: white;
            font-size: 30px;
        }
        
        .box-down ul li:hover {
            color: black;
            font-size: 30px;
        }
        
        .box-right span:hover {
            color: black;
        }
        
        .box-left span:hover {
            color: black;
        }
        
        .box-down ul {
            position: absolute;
            bottom: 1px;
            left: 40px;
        }
    </style>

</head>

<body>
    <h3 style="text-align: center;">轮播图布局练习</h3>
    <div class="father">
        <img style="height: 700px;width: 1000px;" src="../img/5e67229390479.png">
        <a href="#">
            <div class="box-left">
                <span>&lt;</span>
            </div>
        </a>

        <a href="#">
            <div class="box-right">
                <span>&gt;</span>
            </div>
        </a>

        <div class="box-down">
            <ul>
                <a href="#">
                    <li>○</li>
                </a>
                <a href="#">
                    <li>○</li>
                </a>
                <a href="#">
                    <li>○</li>
                </a>
                <a href="#">
                    <li>○</li>
                </a>

            </ul>

        </div>
    </div>


</body>

</html>